package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.Question;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 问卷问题Mapper
 */
@Mapper
public interface QuestionMapper {
    /**
     * 根据二级科室名查询问题列表（按sort升序）
     */
    List<Question> selectQuestionByDept(@Param("department") String department);
    //按照departmentId来获取
    List<String> selectQuestionByDeptId(@Param("departmentId") Long departmentId);
}